Skip to main content

addTagsToStack(stack, tags): void

Defined in: src/aspects/add-tags-to-stack/add-tags-to-stack.ts:13

Adds a set of tags to an AWS CDK stack.

Iterates over the provided tag map and applies each tag to the given CDK stack using the CDK Tags utility.

Parameters

stack

Stack

The AWS CDK stack to which tags will be applied.

tags

Tags

A map of tag keys and values to apply to the stack.

Returns

void